<template>
	<view>
		<button @click="test">点击</button>
		<mText v-model="moveValue" :initT="t" :initL="l"></mText>
		
		
	</view>
</template>

<script>
	import mText from '../../component/moveView/text.vue'
	export default {
		components:{
			mText
		},
		data() {
			return {
				t:10,
				l:20,
				moveValue:{
					x:this.l,
					y:this.t
				},
				dataView:{
					
				}
			}
		},
		methods: {
			test(){
				this.t = 100
				this.l = 200
			}
		}
	}
</script>

<style>

</style>
